package com.guyaogg.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guyaogg.common.utils.PageUtils;
import com.guyaogg.gulimall.product.entity.AttrGroupEntity;
import com.guyaogg.gulimall.product.vo.AttrGroupWithAttrsVO;
import com.guyaogg.gulimall.product.vo.SkuItemVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author guyao
 * @email 3039744913@qq.com
 * @date 2021-10-08 15:51:59
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Integer catelogId);


    List<AttrGroupWithAttrsVO> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SkuItemVO.SpuItemBaseAttrVO> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

